package cn.chinasyq.photoquan.photo.bean;

/**
 * Created by 一搏 on 2015/12/13.
 */
public class CommentsEntity {

    /**
     * uuid : 123-1321-321123-456456
     * avatar : http://img5.imgtn.bdimg.com/it/u=3938127501,1933671504&fm=23&gp=0.jpg
     * name : 张老歪
     */

    private UserEntity user;
    /**
     * uuid : 567-3456-345-345-435
     * ago : 1天之前
     * content : 太难看了！我吐了一键盘
     * like_count : 50
     * is_like : true
     */

    private CommentEntity comment;

    public void setUser(UserEntity user) {
        this.user = user;
    }

    public void setComment(CommentEntity comment) {
        this.comment = comment;
    }

    public UserEntity getUser() {
        return user;
    }

    public CommentEntity getComment() {
        return comment;
    }

    public static class UserEntity {
        private String uuid;
        private String avatar;
        private String name;

        public void setUuid(String uuid) {
            this.uuid = uuid;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getUuid() {
            return uuid;
        }

        public String getAvatar() {
            return avatar;
        }

        public String getName() {
            return name;
        }
    }

    public static class CommentEntity {
        private String uuid;
        private String ago;
        private String content;
        private int like_count;
        private boolean is_like;
        private String image;

        public void setUuid(String uuid) {
            this.uuid = uuid;
        }

        public void setAgo(String ago) {
            this.ago = ago;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public void setLike_count(int like_count) {
            this.like_count = like_count;
        }

        public void setIs_like(boolean is_like) {
            this.is_like = is_like;
        }

        public String getUuid() {
            return uuid;
        }

        public String getAgo() {
            return ago;
        }

        public String getContent() {
            return content;
        }

        public int getLike_count() {
            return like_count;
        }

        public boolean isIs_like() {
            return is_like;
        }

        public String getImage() {
            return image;
        }

        public void setImage(String image) {
            this.image = image;
        }
    }
}
